﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TB.DataModel.DTO
{
    public class Message
    {
        public Guid Guid { get; set; }
        public string Author { get; set; }
        public string Content { get; set; }
        public string Email { get; set; }
        public DateTime CreationDate { get; set; }
        public int Rating { get; set; }

        public Message(string author, string email, string content)
        {
            Guid = Guid.NewGuid();
            Author = author;
            Email = email;
            Content = content;
        }
    }
}
